package file;

import java.io.File;

public class DeleteFile {
    public static void main(String[] args) {
        File file=new File("./a/c");
        if(file.exists()){
            file.delete();
            System.out.println("该文件已删除");
        }else{
            System.out.println("该目录不存在");
        }
        File fell=new File("./PP.text");
        if(fell.exists()){
            fell.delete();
            System.out.println("干掉它");
        }else {
           System.out.println("该目录木得了");
        }
    }
}
